package com.ran.service;

import com.ran.entity.employee;
import java.sql.SQLException;
import java.util.List;

/**
 *empService接口
 */
public interface empService {
//    登陆验证,获取所有员工信息,添加员工信息,修改员工信息,删除员工信息
    public boolean login(String ename, String epsd) throws SQLException;
    public List<employee> allemp();
    public boolean register(employee em);
    public List<employee> search(int empid);
    public boolean update(employee em);
    public boolean delete(int empid);
}
